import $http from '../request/request.js'

const defaultHeader = {}
// const API = {
export const login = $http('/api/login', 'POST')
export const register = $http('/api/register', 'POST')
export const getForm = $http('/api/form', 'POST')
export const search = $http('/api/searchLike', 'POST')
export const getAuthorinfo = $http('/api/getAuthorinfo', 'POST')
export const deleteArray = $http('/api/deleteArray', 'POST')
export const updateImageInfo = $http('/api/updateImageInfo', 'POST')

// API
